<template>
  <div class="child">
    <h1>我是子组件1</h1>
    <child></child>
  </div>
</template>

<script setup lang="ts">
import child from './grandChild.vue'
</script>
<style scoped lang="less">
.child {
  width: 300px;
  height: 400px;
  background: yellowgreen;
}
</style>